#ifndef RADAR_H
#define RADAR_H

#include <QObject>
#include "device.h"


class Radar :public Device
{
    Q_OBJECT
public:
    explicit Radar(){};
    virtual bool open()=0;
    virtual void scan()=0;
     virtual void doWork()=0;

    //向外界发送信号
signals:
    virtual void sendDataToOtherDevice(std::shared_ptr<YCN::Command>cmd);
    //接收外界来的信号
public slots:
    virtual  void onOtherDevice(std::shared_ptr<YCN::Command>cmd)=0;

};

#endif // RADAR_H
